package com.cbg.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.cbg.base.core.SuperEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 路线车辆表
 * </p>
 *
 * @author chenbing
 * @since 2018-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_line_car")
@NoArgsConstructor
@AllArgsConstructor
public class LineCar extends SuperEntity<LineCar> {

    private static final long serialVersionUID = 1L;

    /**
     * 路线id
     */
    private String lineId;

    /**
     * 车型id
     */
    private String typeId;

    /**
     * 车辆id
     */
    private String carId;

    /**
     * 车座状态
     */
    private Integer status;

    /**
     * version
     */
    @Version
    private Integer version;
}
